import request from '@/utils/request'

const modelName = 'system-publisher'

// 获取所有通知发布类型
export const getAllNoticeType = () => {
  return request({
    url: modelName + '/system/publisher/getAllNoticeType',
    method: 'get',
  })
}

// 获取所有通知发布类型
export const sendTheNewNotice = data => {
  return request({
    url: modelName + '/system/publisher/sendTheNewNotice',
    method: 'post',
    data,
  })
}
